<%@page import="com.amit.Customer"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page import="com.amit.Customer"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Test1.jsp</title>
</head>
<body>
<% 
Customer cust=new Customer();
cust.setCid(12);
cust.setCname("amit");
cust.setEmail("amityadav@gmail.com");
cust.setPhone(1234);
session.setAttribute("CUST",cust);
%>
<jsp:forward page="test2.jsp"/>

</body>
</html>